package com.zys.pojo;

import java.io.Serializable;
import java.util.List;

/**
 * 商品实体类
 */
public class Good implements Serializable {
  private Integer id;                 // 商品 id
  private String goodName;            // 商品名称
  private double price;               // 商品价格
  private double weight;              // 商品重量
  private Integer number;             // 商品数量
  private long addTime;               // 添加时间
  private List<Category> category;    // 商品所属分类
  private String introduce;           // 商品介绍
  private String pictureName;         // 商品图片名称

  public Integer getId() {
    return id;
  }

  public void setId(Integer id) {
    this.id = id;
  }

  public String getGoodName() {
    return goodName;
  }

  public void setGoodName(String goodName) {
    this.goodName = goodName;
  }

  public double getPrice() {
    return price;
  }

  public void setPrice(double price) {
    this.price = price;
  }

  public double getWeight() {
    return weight;
  }

  public void setWeight(double weight) {
    this.weight = weight;
  }

  public Integer getNumber() {
    return number;
  }

  public void setNumber(Integer number) {
    this.number = number;
  }

  public long getAddTime() {
    return addTime;
  }

  public void setAddTime(long addTime) {
    this.addTime = addTime;
  }

  public List<Category> getCategory() {
    return category;
  }

  public void setCategory(List<Category> category) {
    this.category = category;
  }

  public String getIntroduce() {
    return introduce;
  }

  public void setIntroduce(String introduce) {
    this.introduce = introduce;
  }

  public String getPictureName() {
    return pictureName;
  }

  public void setPictureName(String pictureName) {
    this.pictureName = pictureName;
  }
}
